package com.itools.core.ucenter.controller.interceptor;

import org.springframework.context.annotation.Configuration;
import org.springframework.web.servlet.config.annotation.InterceptorRegistry;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter;

/**
 * @project: itools-backend
 * @description:
 * @author: XUCHANG
 * @create: 2021-08-08 13:20
 */
//@Configuration
//public class MyWebMvcConfigurer extends WebMvcConfigurerAdapter {
//
//    @Override
//    public void addInterceptors(InterceptorRegistry registry) {
//        registry.addInterceptor(new PermissionInterceptor()).addPathPatterns("/**");
//        super.addInterceptors(registry);
//    }
//
//}